home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / PizzaHack / PizzaHack ReadME next >
Encoding:
Text File  |  2000-06-23  |  1.6 KB  |  33 lines

  1. README -- Pizza Hack
  2.  
  3. Maurita Plouff, Eric Raymond                    MacHack 15, 6/24/2000
  4.  
  5.  
  6. We got tired of tedious decision making for pizza orders! So we automated it.
  7.  
  8. This was written in python on Eric's linux box and moved to his brand-new iBook, which was given to him that very afternoon. He needed a real system. After loading MacPython to the iBook, all he had to do was to use ResEdit to change the type/creator codes (TEXT/Pyth), reset the line breaks from linux-style to Mac-style, save the .py file, and -- AMAZING -- it ran, including the GUI, of which Eric is inordinately proud. (after all, what can you expect from a linux guy?)
  9.  
  10. You'll have to have MacPython on your system if you want to run this wonderful hack.
  11.  
  12. Types of Pizzas (defined)
  13.  
  14. PLAIN - just cheese only
  15. VEGAN - lotsa veggies, no cheese
  16. VEGETARIAN cheese, veggies, seasonings
  17. MEGA-MEAT cheese, lotsa meat, seasonings (no veggies)
  18. MEAT-PURIST cheese, only 1 meat, seasonings
  19. MOSTLY MEAT cheese, several meats, one veggie, seasonings
  20. MEAT & VEGGIES cheese, one meat, several veggies, seasonings
  21.  
  22.  
  23. Usage notes: you need to know how many pizzas you want to order. Of those, you may define the number of special pizzas defined either by an absolute number or a percentage (for example, 3 or 10%) If you request more special pizzas than your desired total, you'll be told you have a "bogus order". If you request fewer special pizzas than your desired total, the remaining pizzas will be evenly divided between "mostly meat" and "meat & veggies". 
  24.  
  25. Within these types of pizzas, pies are assembled randomly. 
  26.  
  27. If you don't like the list of pizzas, just generate a new batch.
  28.  
  29.  
  30. Mangia mangia!
  31.  
  32.  
  33.